﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace ExceptionParser
{
    static class Program
    {
        /// <summary>
        /// Number of try blocks, found in program text.
        /// </summary>
        private static int try_s;
        public static int Try_s
        {
            get { return Program.try_s; }
            set { Program.try_s = value; }
        }
        
        /// <summary>
        /// Number of catch blocks, found in program text.
        /// </summary>
        private static int catch_s;
        public static int Catch_s
        {
            get { return Program.catch_s; }
            set { Program.catch_s = value; }
        }
        
        /// <summary>
        /// Last path used in Open/Save file dialog.
        /// </summary>
        private static string lastPath = "";
        public static string LastPath
        {
            get { return Program.lastPath; }
            set { Program.lastPath = value; }
        }


        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Main());  
        }
    }
}
